﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ShoppingCart.aspx.cs" Inherits="ShoppingCart" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="place1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="place2" Runat="Server">

<div style="text-align:center">
<br />
<table style="border-collapse: collapse" border="1" cellpadding="0" cellspacing="0" id="table4" width="100%" bordercolor="#cc9900">
 <tr>
    <td colspan="3" bgcolor="#cc9900" style="height: 23px; text-align: left"><span class="hqtitle"><strong></strong></span></td>
                </tr>  
<tr>
    <td colspan="3">Thêm vào giỏ hàng</td>
</tr>
<tr height="15pt" bgcolor="#c0c0c0">
    <td>&nbsp;Mã sản phẩm</td>
    <td>&nbsp;Tên sản phẩm</td>
    <td>&nbsp;Số lượng</td>
</tr>
<tr align="left">
    <td>&nbsp;<asp:Label ID="lblMaSanPham" runat="Server"></asp:Label></td>    
    <td>&nbsp;<asp:Label ID="lblTenSanhPham" runat="Server"></asp:Label></td>    
    <td>&nbsp;<asp:TextBox ID="txtSoLuong" runat="server"></asp:TextBox>
    <asp:Label ID="lblError" runat="server" Text="Nhập số lượng sai định dạng" Visible="true" Font-Italic="true" ForeColor="red"></asp:Label>
    </td>        
    
</tr>
<tr>
    <td colspan="3" align="center" >
    <asp:Button ID="addToGioHang" Text="Thêm vào giỏ hàng" runat="server" OnClick="addToGioHang_Click" />&nbsp;&nbsp;        
    <asp:Button ID="btnBack" Text="Quay về" runat="server" />&nbsp;&nbsp;        
    </td>    
</tr>

</table>
<a style="color:Red" href="XemThongTinGioHang.aspx" runat="server"> Click vào đây</a> để xem thông tin giỏ hàng.

</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="place3" Runat="Server">
</asp:Content>

